package eerbaar.memory;

import eerbaar.internal.memory.Memory;

import eerbaar.shared.tree.INode;

public class MemoryFactory {

    public static IMemory create() {
        return new Memory();
    }

    public static IMemory create(INode node) {
        assert (node != null);

        return new Memory(node);
    }

    private MemoryFactory() {

    }

}
